-
-
Notifications
You must be signed in to change notification settings - Fork 48.6k
Update Sphinx workflow for GitHub Pages deployment #12945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Enhance Sphinx GitHub Actions workflow - Use ubuntu-latest runner instead of ubuntu-24.04-arm for wider support - Add Python dependency caching for faster builds - Add descriptive step names for better readability in CI logs - Keep minimal required permissions for improved security - Maintain concurrency to prevent overlapping deployments
Why use a slower processor instead of a faster processor?!? |
- uses: astral-sh/setup-uv@v6 | ||
- uses: actions/setup-python@v5 | ||
- name: Checkout repository | ||
uses: actions/checkout@v5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actions/checkout@v5
tells the reader more than Checkout repository
does.
uses: actions/checkout@v5 | ||
|
||
- name: Setup uv | ||
uses: astral-sh/setup-uv@v6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of these changes either break, slow down, or dumb down a working GitHub Action.
uses: astral-sh/setup-uv@v6 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same.
Enhance Sphinx GitHub Actions workflow
Describe your change:
Checklist: